package view
{
    import flash.display.*;

    import view.*;

    public class Background extends Sprite
    {
        private var UI:Bitmap;

        public function Background()
        {
            UI = new ImageLocator.UI();
            UI.x = -300;
            UI.y = -230;
            addChild(UI);
        }

        public function display():void
        {
            graphics.clear();
            graphics.beginFill(0, 0);
            graphics.drawRect(-200, -230, 400, 433);
            graphics.endFill();
            graphics.beginFill(0x403080);
            graphics.drawRect(200, -230, 100, 433);
            graphics.endFill();
        }
    }
}
